from markhobson/maven-chrome:latest
VOLUME /tmp
ADD spider-flow-web-0.2.1.jar app.jar
ADD spider-flow.jar spider-flow.jar
ADD spider-flow-core-0.2.1.jar spider-flow-core-0.2.1.jar
ADD spider-flow-api-0.2.1.jar spider-flow-api-0.2.1.jar
RUN sh -c 'touch /app.jar'
ENV JAVA_OPTS="-Xms1536m -Xmx1536m"
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -Duser.timezone=GMT+8 -jar /app.jar" ]